<!DOCTYPE html>
<html lang="en">
<head>
    <title>流程</title>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="../../../../static/lib/layuiadmin/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="../../../../static/lib/layuiadmin/style/admin.css" media="all">
    <style>
        body {
            margin: 0;
            padding: 0;
            border: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }

        html, body .dw, body .dw .layui-card {
            height: 100%;
        }

        #btn-zs {
            border-bottom: 0;
            padding: 0px;
            margin-bottom: 5px;
        }
        .layui-table-cell .layui-form-checkbox[lay-skin=primary] {
            top: 5px;
        }
    </style>

</head>
<body>
<div class="layui-fluid" id="LAY-component-grid-mobile" style="height: 100%; padding: 5px;">
    <div class="layui-row layui-col-space10" style="height: 100%">
        <div class="layui-col-xs12" style="height: 100%">
            <div class="layui-card" style="height: 100%">
                <div class="layui-card-header" id="title">流程列表<span style="color:red"></span></div>
                <div class="layui-card-body" style="padding: 5px 10px;">
                    <!--<div id="btn-zs">
                        <form class="layui-form" action="">
                            <table id="btn-table">
                                <tr>
                                    <td style='width:80px'>
                                        <a id="recycleBtn" class="layui-btn layui-btn-sm" onclick="batchRecycle()">批量恢复</a>
                                    </td>
                                    <td></td>
                                    &lt;!&ndash;-请手动修改各个查询列宽度，建议都设数字；&#45;&#45;&ndash;&gt;
                                    <td style='width:160px'>
                                        <input type="text" id='workFlowCode' lay-filter="orgName" placeholder="请输入流程名称" style='width:155px; height: 33px' class="layui-input"/>
                                    </td>
                                    <td>
                                        <a href="javascript:;" class="layui-btn layui-btn-sm st_back2"
                                           onclick="search_query()" style="width:60px;margin-right:20px;"><i
                                                class="layui-icon">&#xe615;</i>查询</a>
                                    </td>
                                    <td>
                                        <a href="javascript:;" class="layui-btn layui-btn-sm st_back2" onclick="reload_data()" style="width:60px;margin-right:20px;"><i class="layui-icon">&#xe9aa;</i>刷新</a>
                                    </td>
                                </tr>
                            </table>
                        </form>
                    </div>-->
                    <div class="layui-form" id="gridList" url="/wf/workflow/getGarbage" showHeader="true"
                         sizeList="[10,20,50,100]" pageSize="10">
                        <div property="columns" style="display: none;">
                            <div type="indexcolumn" width="40" headerAlign="center">No.</div>
                            <div field='wfName' width='260' headerAlign='center' allowSort='true'>流程名</div>
                            <div field='wfTitle' width='260' headerAlign='center' allowSort='true'>标题</div>
                            <!--                            <div field='activityStart' width='80' headerAlign='center' allowSort='true'>起始活动</div>-->
                            <div field='createTime' width='170' headerAlign='center' allowSort='true'>创建时间</div>
                            <div field="deleteFlag" width="170" headerAlign="center" allowSort="false"
                                 cellStyle="text-align:center;" renderer="formatOper">操作
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
<script src="../../../../static/lib/layuiadmin/layui/layui.js"></script>
<script src="../../../common/jquery-3.3.1.min.js"></script>
<script src="../../../common/dataGrid.js"></script>
<script src="../../../common/common.js"></script>
<script src="../../../common/listTree.js"></script>
<script type="text/javascript" src="wfWorkFlowRecycle.js"></script>
</html>
